//
//  EditHeaderImgeTableViewCell.m
//  UniversalApp
//
//  Created by 志刚杨 on 2018/1/31.
//  Copyright © 2018年 voidcat. All rights reserved.
//

#import "EditHeaderImgeTableViewCell.h"

@implementation EditHeaderImgeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
//    self.nickname.text = curUser.user_nickname;
    ViewRadius(self.icon, 38/2);
}
-(void)setHeaderImage:(UIImage *)image
{
    if(image == nil)
    {
        [self.icon sd_setImageWithURL:[cyurl safeUrl:curUser.avatar]];
    }
    else
    {
        self.icon.image = image;
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
